package models;

import java.io.Serializable;
import java.util.Date;

import javax.annotation.Untainted;
import javax.jdo.annotations.Index;
import javax.persistence.Id;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Parent;
import com.googlecode.objectify.annotation.Unindexed;

public class CoordinaModel implements Serializable {
	@Id private String id = "";
	
	@Indexed private String routeId = "";
	
	@Unindexed private String storeId = "";
	
	@Unindexed private String listOrder = "";

	@Indexed private int status = 0;
	// 0: chờ giao - 1: đã chỉ định GN - 2: đang giao - 3: đã về - 4: đã cập nhật tồn kho - 5: đã thu tiền 
	
	@Indexed private Date created;
	
	@Indexed private String employeeId  = "";

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRouteId() {
		return routeId;
	}

	public void setRouteId(String routeId) {
		this.routeId = routeId;
	}

	public String getStoreId() {
		return storeId;
	}

	public void setStoreId(String storeId) {
		this.storeId = storeId;
	}

	public String getListOrder() {
		return listOrder;
	}

	public void setListOrder(String listOrder) {
		this.listOrder = listOrder;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}
}
